Skip to content

Conversation

@MasterOdin
Copy link
Member

@MasterOdin MasterOdin commented Sep 2, 2025

PR moves the --configuration option to the top-level, making it possible to do stuff like phinx --configuration phinx.yml status, whereas right now --configuration must follow the command (e.g. phinx status --configuration phinx.yml). This should make it drastically simpler to run multiple different phinx commands (migrate, rollback, status in my case) where in the terminal, I can hit up, delete the command, and then type a new command, without needing to left key past --configuration phinx.yml.

As this is a top-level command, I've added support for it to init command as well since that was the only command that currently didn't use it, though the path argument still takes precedence

@MasterOdin MasterOdin merged commit 21cee19 into 0.x Sep 2, 2025
12 checks passed
@MasterOdin MasterOdin deleted the feat-config-option branch September 2, 2025 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants